package com.lwj.service.system;

import com.lwj.dto.system.DefListDto;
import com.lwj.dto.system.DictionaryDefDto;
import com.lwj.vo.PageBean;
import com.lwj.vo.system.DictionaryDefVo;

import java.util.List;

public interface DictionaryDefService {

    PageBean<DictionaryDefVo> defList(DefListDto dto);

    int saveDef(DictionaryDefDto dto);

    List<DictionaryDefVo> getByCategoryId(String categoryId);

    List<DictionaryDefVo> getByCategoryCode(String categoryCode);
}
